package cn.powertime.evaluation.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(description = "关注用户对象类")
public class RespFocusListVo implements Serializable {

    @ApiModelProperty(value = "用户头像id", name = "avatar")
    private Long avatar;

    @ApiModelProperty(value = "用户ID", name = "userId", position = 1)
    private String userId;

    @ApiModelProperty(value = "用户昵称", name = "nickname", position = 2)
    private String nickname;

    @ApiModelProperty(value = "创建时间", name = "createTime", position = 3)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

}
